package com.liu.proxy_studey.dynamicProxy_jdk;


/**
 * 房东
 */
public class Landlord implements Rent {

    private String name;

    public Landlord(String name) {
        this.name = name;
    }

    public boolean RentHouse() {
        System.out.println("叫"+this.name + "的房东出租房子");
        return true;
    }


}
